package com.toocms.jinjuhang.data.goods

import com.toocms.jinjuhang.data.ImageData
import com.toocms.jinjuhang.data.ShareData

data class GoodsDetailData(
    val goods_id: String,
    val goods_type: String,
    val goods_name: String,
    val show_sales: String,
    val price: String?,
    val points: String?,
    val pay_points: String?,
    val stock: String?,
    val mission_id: String,
    val mission_type: String,
    val mission: String,
    val is_coll: String,
    val comm_count: String,
    val carts: String,
    val voucher: String,
    val share: ShareData?,
    val license: List<ImageData>?,
    val pictures: List<ImageData>?
){

    val _price: String
        get() {
            return price?:"0"
        }

}